<?php
declare(strict_types= 1);
function aaa(string $aa,string $cc,int $bb=2) {
    print("{$aa},{$bb},{$cc}");
    print(PHP_EOL);
    $params = func_get_args();
    // 输出参数
    foreach ($params as $param) {
        echo $param . PHP_EOL;
    }
}

$args = ["aa"=>"aaaa","bb"=> 22,"cc"=>"cccc"];

aaa(... $args);
